]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js/shellDbus: Do not forward device IDs
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 17 Nov 2020 14:35:15 +0000 (15:35 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 17 Nov 2020 18:07:30 +0000 (19:07 +0100)
We already pass the device event node path for identification purposes,
we can stop doing that here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1501>

js/ui/shellDBus.js

index 75a2f341d06de8ddf6e15a76cd4e5aa1e664ca2e..bac9caa095e57454972714977b088d1ddad2d5c2 100644 (file)
@@ -151,9 +151,10 @@ var GnomeShell = class {
 
         let connection = this._dbusImpl.get_connection();
         let info = this._dbusImpl.get_info();
-        let params = { 'device-id': GLib.Variant.new('u', device.get_device_id()),
-                       'timestamp': GLib.Variant.new('u', timestamp),
-                       'action-mode': GLib.Variant.new('u', Main.actionMode) };
+        let params = {
+            'timestamp': GLib.Variant.new('u', timestamp),
+            'action-mode': GLib.Variant.new('u', Main.actionMode),
+        };
 
         let deviceNode = device.get_device_node();
         if (deviceNode)